package com.panda.springcloud.clients;/**
 * @author 乐于吕
 * * @date 2024/10/24
 */

import com.panda.springcloud.entity.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 *@Author: 乐于吕
 *@CreateTime: 2024-10-24
 *@Description:
 *
 */

@FeignClient("TAGSERVICE")
public interface TagClient {

    @GetMapping("/tags/{id}")
    Tag getTagById(@PathVariable("id") Integer id);

}